package com.tich.program.service;

import com.tich.program.domain.dto.ProgramTicketUpdateDTO;
import com.tich.program.domain.dto.ProgramTicketsSaveDTO;
import com.tich.program.domain.entity.ProgramTicket;
import com.baomidou.mybatisplus.extension.service.IService;
import com.tich.program.domain.vo.ProgramTicketSelectVO;

import java.util.List;


public interface IProgramTicketService extends IService<ProgramTicket> {

    /**
     * 批量给节目添加门票
     * @param programTicketsSaveDTO
     * */
    void saveProgramTickets(ProgramTicketsSaveDTO programTicketsSaveDTO);

    /**
     * 根据节目id查询节目门票信息
     * @param programId
     * @return
     * */
    List<ProgramTicketSelectVO> selectProgramTickets(Long programId);

    /**
     * 修改节目门票信息
     * @param programTicketUpdateDTO
     * */
    void updateProgramTicket(ProgramTicketUpdateDTO programTicketUpdateDTO);

    /**
     * 根据id删除门票
     * @param id
     * */
    void deleteProgramTickets(Long id);
}
